require.config({
    shim: {
        'bootstrap':{
            deps:['jquery'],
            export:'bootstrap'
        },
        'nav':{
            deps:['jquery','bootstrap'],
            export:'nav'
        },
    },
    paths : {
        "jquery":"../lib/jquery/jquery-3.3.1.min",
        "bootstrap":"../lib/bootstrap/js/bootstrap",
        "nav":"../lib/nav/js/nav.min"
    }
});
require(["jquery","bootstrap","nav"],function($,bootstrap,nav){
    /*下拉菜单动作相关 start*/
    var topbar = $('#sui_nav').SuiNav({});
    var navbar = topbar.create('nav_second', {}, {});
    $('.MenuToggle').click(function() {
        console.log("toggle");
        topbar.toggle();
    });
    $('.MenuOpen').click(function() {
        console.log("open");
        topbar.show();
    });
    /*下拉菜单动作相关 end*/


});